package com.wx.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>Title:      NurseDto. </p>
 * <p>Description 护士信息表 </p>
 * <p>Copyright: Copyright (c) 2016</p>
 * <p>Company:    医百科技有限公司 </p>
 *
 * @author         yangwensheng@100doc.com.cn
 * @since      2021-03-22 10:51:46
 */
@Data
@ApiModel(value = "NurseDto")
public class NurseDto implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "护士id")
	@NotEmpty(message = "护士id不能为空")
	private String id;


	@ApiModelProperty(value = "性别")
	@NotNull(message = "性别不能为空")
	private Integer sex;

	/**
	 * 真实姓名
	 */
	@ApiModelProperty(value = "真实姓名")
	@NotEmpty(message = "姓名不能为空")
	private String realName;

	/**
	 * 电话
	 */
	@ApiModelProperty(value = "手机号")
	@NotEmpty(message = "手机号不能为空")
	private String phone;

	/**
	 * 证件类型 1：身份证 2：护照
	 */
	@ApiModelProperty(value = "证件类型 1：身份证 2：护照")
	@NotNull(message = "证件类型不能为空")
	private Integer certificatesType;

	/**
	 * 身份证号
	 */
	@ApiModelProperty(value = "身份证号")
	@NotEmpty(message = "身份证号不能为空")
	private String idNum;


	/**
	 * openId
	 */
	@ApiModelProperty(value = "openId")
	private String openId;


}
